package com.woniuxy.factory.mapper;

import com.woniuxy.factory.entity.Planunit;
import com.woniuxy.factory.entity.ProductionPlan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MissionMapper {
    List<ProductionPlan> selectMission(@Param("productionPlan") ProductionPlan productionPlan,@Param("page") int page,@Param("limit") int limit);

    int selectMissionSum(@Param("productionPlan") ProductionPlan productionPlan);

    List<Planunit> selectPlanunit(@Param("id") String id,@Param("page") int page,@Param("limit") int limit);

    int selectPlanunitSum(String id);
}
